package com.iflytek.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iflytek.common.annotation.Excel;
import com.iflytek.common.core.domain.BaseEntity;

/**
 * 试卷属性设置对象 tb_exam_set
 * 
 * @author Dogdog
 * @date 2024-07-09
 */
public class ExamSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试卷设置id */
    private Long id;

    /** 试卷id */
    private Long examId;

    /** 重考次数 */
    private Long retakesNum;

    /** 考完是否允许查看 */
    private Integer isLook;

    /** 是否取成绩最高值 */
    private Integer isMax;

    /** 是否禁用考试，0禁用，1启用 */
    private Integer states;

    /** 考试是否公开，0公开，1不公开 */
    private Integer type;

    /** 组卷方式0人工组卷，1随机组卷，2考时随机组卷 */
    private Integer paperMode;

    /** 是否强制收卷0不强制，1强制 */
    private Integer forcedWinding;

    /** 是否公开 */
    private String passwordType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setRetakesNum(Long retakesNum) 
    {
        this.retakesNum = retakesNum;
    }

    public Long getRetakesNum() 
    {
        return retakesNum;
    }
    public void setIsLook(Integer isLook) 
    {
        this.isLook = isLook;
    }

    public Integer getIsLook() 
    {
        return isLook;
    }
    public void setIsMax(Integer isMax) 
    {
        this.isMax = isMax;
    }

    public Integer getIsMax() 
    {
        return isMax;
    }
    public void setStates(Integer states) 
    {
        this.states = states;
    }

    public Integer getStates() 
    {
        return states;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setPaperMode(Integer paperMode) 
    {
        this.paperMode = paperMode;
    }

    public Integer getPaperMode() 
    {
        return paperMode;
    }
    public void setForcedWinding(Integer forcedWinding) 
    {
        this.forcedWinding = forcedWinding;
    }

    public Integer getForcedWinding() 
    {
        return forcedWinding;
    }
    public void setPasswordType(String passwordType) 
    {
        this.passwordType = passwordType;
    }

    public String getPasswordType() 
    {
        return passwordType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("examId", getExamId())
            .append("retakesNum", getRetakesNum())
            .append("isLook", getIsLook())
            .append("isMax", getIsMax())
            .append("states", getStates())
            .append("type", getType())
            .append("paperMode", getPaperMode())
            .append("forcedWinding", getForcedWinding())
            .append("passwordType", getPasswordType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
